package com.jy.appmarket.network.engine;

import java.util.Map;

import android.content.Context;

import com.jy.appmarket.network.engine.cachestrategy.NamedCacheStrategy;
import com.jy.appmarket.network.resultdata.HotWordsResultData;

public class HotWordsNetEngine extends BaseNetEngine{

	public HotWordsNetEngine(){
		mHttpMethod = HTTP_GET;
		mCacheStrategy = new NamedCacheStrategy("search_hotword");
		setCacheStrategy(mCacheStrategy);
		mResultData = new HotWordsResultData();
	}
	
	@Override
	protected String getCommand() {
		return "search_v2";
	}

	@Override
	protected void getParams(Context context, Map<String, String> custParams) {
		custParams.put("pageNo", String.valueOf(1));
	}
}
